﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PUCP.SI2.SGIRP.BE;
using PUCP.SI2.SGIRP.DA;

namespace PUCP.SI2.SGIRP.BC
{
    public class ClienteBC
    {
        static List<ClienteBE> listaCliente = new List<ClienteBE>();

        public static List<ClienteBE> ListaCliente
        {
            get { return ClienteBC.listaCliente; }
            set { ClienteBC.listaCliente = value; }
        }
        
        public static List<ClienteBE> getAllClientes()
        {

            DAOCliente daoclientes = new DAOCliente();
            listaCliente = daoclientes.QueryAll();

            return listaCliente;
        }


    }
}
